package com.yubest.designpattern.struct.composite;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 * 权限菜单
 *
 * @Author: hweiyu
 * @Date: 2022/10/26 14:45
 */
@Data
@AllArgsConstructor
public class Menu {

    private Integer id;

    private Integer parentId;

    private String name;

    private List<Menu> children;
}
